package org.gienah.testing.xml;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author Santiago L. Valdarrama
 * @since E0.2
 */
public class NamespaceHandler
		extends NamespaceHandlerSupport {

	private static final String BEAN_DEFINITION_TEST = "test";
	private static final String BEAN_DEFINITION_RUNNER = "runner";

	public void init() {
		registerBeanDefinitionParser(BEAN_DEFINITION_TEST, new TestBeanDefinitionParser());
		registerBeanDefinitionParser(BEAN_DEFINITION_RUNNER, new RunnerBeanDefinitionParser());
	}
}
